home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianButtons.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  2KB  |  48 lines

  1. /*** ScianButtons.c function prototypes */
  2.  
  3. #ifndef SCIANBUTTONS
  4. #define SCIANBUTTONS
  5.  
  6. #define BS_PLAIN 0
  7. #define BS_PITTED 1
  8.  
  9. extern ObjPtr    radioButtonClass;        /* class of radio buttons */
  10. extern ObjPtr    oldRadioButtonClass;        /* class of old radio buttons */
  11. extern ObjPtr    checkBoxClass;            /* class of check boxes */
  12. extern ObjPtr    buttonClass;            /* class of buttons */
  13. extern ObjPtr    iconButtonClass;        /* class of icon buttons */
  14. extern ObjPtr    radioGroupClass;        /* class of '90.. er, um.. */
  15.  
  16. #ifdef PROTO
  17. void    DrawButtonFrame(int left, int right,
  18.       int bottom, int top, int depth, int topcolor);
  19. void    InitButtons();
  20. void    KillButtons();
  21. ObjPtr    NewButton(int left, int right, int bottom, int top, char *label);
  22. ObjPtr    NewIconButton(int, int, int, int, int, int, char *, int);
  23. ObjPtr    NewIconLabeledButton(int, int, int, int, int, int, char *, int);
  24. ObjPtr    NewRadioButton(int left, int right, int bottom, int top, char *label);
  25. ObjPtr    NewCheckBox(int, int, int, int, char *, Bool);
  26. ObjPtr    NewRadioButtonGroup(char *);
  27. void    AddRadioButton(ObjPtr theGroup, ObjPtr theButton);
  28. Bool    MakeButtonToggled(ObjPtr, Bool);
  29. Bool    ActivateButton(ObjPtr, Bool);
  30. Bool    ToggleButtonActivated(ObjPtr);
  31. #else
  32. void    DrawButtonFrame();
  33. void    DrawButton();
  34. void    InitButtons();
  35. void    KillButtons();
  36. ObjPtr    NewIconButton();
  37. ObjPtr    NewIconLabeledButton();
  38. ObjPtr    NewButton();
  39. ObjPtr    NewRadioButton();
  40. ObjPtr    NewCheckBox();
  41. ObjPtr    NewRadioButtonGroup();
  42. void    AddRadioButton();
  43. Bool    MakeButtonToggled();
  44. Bool    ActivateButton();
  45. Bool    ToggleButtonActivated();
  46. #endif
  47. #endif
  48.